import request from './request';

export const Login = (data) => request({
    url: `/login`,
    method: "post",
    params: data
})

export const Menu = (data) => request({
    url: `/menus`,
    method: "get",
    params: data
})
/**
 * 
 * @returns 获取用户列表
 */
export const getUserlist = (data) => request({
    url: `/users`,
    method: "get",
    params: data
})